<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence de la classe GGGlobal</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&nbsp;de&nbsp;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe GGGlobal</h1><!-- doxytag: class="GGGlobal" -->
<p>Classe abstraite <a class="el" href="class_g_g_global.html" title="Classe abstraite GGGlobal.">GGGlobal</a>.  
<a href="#_details">Plus de détails...</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions membres publiques statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_global.html#ad1f58639b0560265a70e948a4f595558">error</a> ($t, $e=false)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Affiche un message d'erreur.  <a href="#ad1f58639b0560265a70e948a4f595558"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_global.html#a9253da595dbc9c4efa2336244a5f6609">name</a> ($f, $s=false)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fonction de nommage des fichiers templates.  <a href="#a9253da595dbc9c4efa2336244a5f6609"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_global.html#a8cde2865ba9be02f6cb4d161f39d9b92">setErrorDisplay</a> (bool $v)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Mutateur de la propriété errorDisplay.  <a href="#a8cde2865ba9be02f6cb4d161f39d9b92"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_global.html#a67c8f2047898da4be60bf516f098b38d">setErrorMsg</a> (string $m)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Mutateur de la propriété ErrorMsg.  <a href="#a67c8f2047898da4be60bf516f098b38d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_global.html#a3f4180d93764cc2509c53d3311563f2c">getErrors</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accesseur à la propriété error.  <a href="#a3f4180d93764cc2509c53d3311563f2c"></a><br/></td></tr>
<tr><td colspan="2"><h2>Attributs protégés statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_global.html#a59e906e06cd8f978015d1612a1b50a18">$errorDisplay</a> = true</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">s'il faut afficher les erreurs  <a href="#a59e906e06cd8f978015d1612a1b50a18"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_global.html#a505ec6688ccefc50d8f4c3287262af18">$errorMsg</a> = '&lt;hr /&gt;&lt;b&gt;<a class="el" href="class_gagatemplate.html">Gagatemplate</a> error:&lt;/b&gt;&lt;br /&gt;'</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">le message d'erreur de base  <a href="#a505ec6688ccefc50d8f4c3287262af18"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_global.html#ab24faf4aa647cdcee494fc48524ad4ff">$errors</a> = false</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">la liste des erreurs qui sont survenues, sinon false  <a href="#ab24faf4aa647cdcee494fc48524ad4ff"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<p>Classe abstraite <a class="el" href="class_g_g_global.html" title="Classe abstraite GGGlobal.">GGGlobal</a>. </p>
<p>Elle engloble les fonctions global utile aux classe <a class="el" href="class_gagatemplate.html" title="Classe Gagatemplate, c&#39;est la classe de base du moteur de template, c&#39;est...">Gagatemplate</a> et <a class="el" href="class_g_g_parser.html" title="Classe GGParser, c&#39;est elle qui va compiler les fichiers templates.">GGParser</a>. </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Gaétan Collaud (<a href="mailto:gaga26@gmail.com">gaga26@gmail.com</a>) </dd></dl>
<dl class="version"><dt><b>Version:</b></dt><dd>1.0  </dd></dl>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="ad1f58639b0560265a70e948a4f595558"></a><!-- doxytag: member="GGGlobal::error" ref="ad1f58639b0560265a70e948a4f595558" args="($t, $e=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static error </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>e</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche un message d'erreur. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$t le message d'erreur </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>boolean</em>&nbsp;</td><td>$e s'il faut arrêter le script </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3f4180d93764cc2509c53d3311563f2c"></a><!-- doxytag: member="GGGlobal::getErrors" ref="a3f4180d93764cc2509c53d3311563f2c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static getErrors </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Accesseur à la propriété error. </p>

</div>
</div>
<a class="anchor" id="a9253da595dbc9c4efa2336244a5f6609"></a><!-- doxytag: member="GGGlobal::name" ref="a9253da595dbc9c4efa2336244a5f6609" args="($f, $s=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static name </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>s</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fonction de nommage des fichiers templates. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$f le nom du fichier template </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$s le surnom du fichier, sinon false </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>string le nom du fichier compilé/cache </dd></dl>

</div>
</div>
<a class="anchor" id="a8cde2865ba9be02f6cb4d161f39d9b92"></a><!-- doxytag: member="GGGlobal::setErrorDisplay" ref="a8cde2865ba9be02f6cb4d161f39d9b92" args="(bool $v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static setErrorDisplay </td>
          <td>(</td>
          <td class="paramtype">bool $&nbsp;</td>
          <td class="paramname"> <em>v</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mutateur de la propriété errorDisplay. </p>

</div>
</div>
<a class="anchor" id="a67c8f2047898da4be60bf516f098b38d"></a><!-- doxytag: member="GGGlobal::setErrorMsg" ref="a67c8f2047898da4be60bf516f098b38d" args="(string $m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static setErrorMsg </td>
          <td>(</td>
          <td class="paramtype">string $&nbsp;</td>
          <td class="paramname"> <em>m</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mutateur de la propriété ErrorMsg. </p>

</div>
</div>
<hr/><h2>Documentation des champs</h2>
<a class="anchor" id="a59e906e06cd8f978015d1612a1b50a18"></a><!-- doxytag: member="GGGlobal::$errorDisplay" ref="a59e906e06cd8f978015d1612a1b50a18" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$errorDisplay = true<code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>s'il faut afficher les erreurs </p>

</div>
</div>
<a class="anchor" id="a505ec6688ccefc50d8f4c3287262af18"></a><!-- doxytag: member="GGGlobal::$errorMsg" ref="a505ec6688ccefc50d8f4c3287262af18" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$errorMsg = '&lt;hr /&gt;&lt;b&gt;<a class="el" href="class_gagatemplate.html">Gagatemplate</a> error:&lt;/b&gt;&lt;br /&gt;'<code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>le message d'erreur de base </p>

</div>
</div>
<a class="anchor" id="ab24faf4aa647cdcee494fc48524ad4ff"></a><!-- doxytag: member="GGGlobal::$errors" ref="ab24faf4aa647cdcee494fc48524ad4ff" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$errors = false<code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>la liste des erreurs qui sont survenues, sinon false </p>

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>libs/<a class="el" href="_gagatemplate_8php.html">Gagatemplate.php</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
